package impl;


public class AgentRefImpl implements AgentRef {

  private static final long serialVersionUID = 3786174379034488447L;

  protected final RemoteAgent agent;
  private final String id;

  public AgentRefImpl(RemoteAgent agent, String id) {
    this.agent = agent;
    this.id = id;
  }

  @Override
  public String toString() {
    return id;
  }
}
